package com.dianjing.dianjing.dto.input;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author manzhuangjie
 */
@Data
public class PasswordAlterInput{

    @NotNull()
    @ApiModelProperty("用户id")
    private Long userId;

    @NotNull()
    @ApiModelProperty("旧的密码")
    private String oldPassword;

    @NotNull()
    @ApiModelProperty("新的密码")
    private String newPassword;


}
